﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Comments.aspx.cs" Inherits="websoni.WebForm8" Title="Comments" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
    .style1
    {
        width: 100%;
    }
    .style2
    {
        font-size: medium;
    }
    .style3
    {
        font-size: small;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <h1><p>
        <span class="style3">
    <table class="style1">
        <tr>
            <td colspan="2">
                <p>
                    <table class="style1">
                        <tr>
                            <td colspan="2">
                                <table class="style1">
                                    <tr>
                                        <td>
    <span class="style3">
                                <asp:Label ID="Label4" runat="server" Font-Italic="True" 
                                    Font-Names="Century Schoolbook" Font-Size="Medium" ForeColor="Black" 
                                    Text="Speak ur heart" Font-Bold="True"></asp:Label>
            </span>
                                        </td>
                                        <td class="style3">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
    <span class="style3">
                                <asp:Label ID="Label5" runat="server" ForeColor="Gray" 
                                    Text="I would be delighted to hear from you...." 
                                                style="text-transform: none; color: #000000; font-weight: 400; font-style: italic; font-size: small"></asp:Label>
            </span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            </span>
                                            <asp:Label ID="Label3" runat="server" Font-Size="Small" style="color: #000000" 
                                                Text="Name"></asp:Label>
                                        </td>
                                        <td class="style3">
                                            <asp:TextBox ID="tbname" runat="server" Width="283px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="tbname" ErrorMessage="*"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            &nbsp;</td>
                                        <td class="style3">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style3">
                                            <asp:Label ID="Label2" runat="server" Text="Message" 
                                                style="text-align: left; color: #000000;"></asp:Label>
                                        </td>
                                        <td class="style3" rowspan="4" valign="top">
                                            <asp:TextBox ID="tbmsg" runat="server" Height="100px" TextMode="MultiLine" 
                                                Width="288px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                ControlToValidate="tbmsg" ErrorMessage="*"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style3">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style3">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style3">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="style3">
                                            &nbsp;</td>
                                        <td class="style3">
    <span class="style3">
                                            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Submit" />
            </span>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                &nbsp;</td>
                        </tr>
                        <tr class="style2">
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style3">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: left">
                                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                                    Width="580px" BackColor="#CCCCCC" BorderColor="#999999" 
                                    BorderStyle="Solid" BorderWidth="3px" CellPadding="4" CellSpacing="2" 
                                    CssClass="style3" ForeColor="Black" AllowPaging="True" 
                                    ondatabinding="GridView1_DataBinding" 
                                    onpageindexchanging="GridView1_PageIndexChanging">
                                    <FooterStyle BackColor="#CCCCCC" />
                                    <RowStyle BackColor="White" />
                                    <Columns>
                                        <asp:BoundField DataField="sender_name" HeaderText="Sender Name" >
                                            <ItemStyle Width="100px" VerticalAlign="Top" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="comment" HeaderText="Comments" HtmlEncode="False" />
                                    </Columns>
                                    <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td class="style3">
                                &nbsp;</td>
                            <td class="style3">
                                &nbsp;</td>
                        </tr>
                    </table>
                </p>
                <span class="style2">
                <br class="style3" />
            </td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;</td>
            </span>
            <td class="style3">
                &nbsp;</td>
        </tr>
    </table>
</p>
</h1>
<p>
</p>
</asp:Content>
